package com.sztle.admodule.apiprocessor;

import com.sztle.admodule.bean.FeedBean;
import com.sztle.admodule.resp.RequestUtils;
import com.sztle.admodule.resp.ServiceHelper;
import com.sztle.admodule.resp.api.RiskControlApi;

import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;

public class OutApiProcessor {

    public static void feedback(String content) {
        FeedBean feedBean = new FeedBean();
        feedBean.content = content;
        ServiceHelper.getService(RiskControlApi.class).userFeedback(RequestUtils.getSzLogHeadMap(), RequestUtils.getRequestObjectBody(feedBean)).enqueue(new Callback() {
            @Override
            public void onResponse(Call call, Response response) {

            }

            @Override
            public void onFailure(Call call, Throwable t) {

            }
        });
    }
}
